package com.google.gwt.sample.contacts.client.action;

import com.google.gwt.sample.contacts.shared.Contact;

import com.guit.client.command.action.Action;
import com.guit.client.command.action.ActionHandler;

@ActionHandler("com.unnison.framework.client.command.action.ActionHandler")
public class AddContactAction implements Action<AddContactResponse> {

    private Contact contact;

    public AddContactAction(Contact contact) {
        this.contact = contact;
    }

    public AddContactAction() {
    }

    public void setContact(Contact contact) {
        this.contact = contact;
    }

    public Contact getContact() {
        return contact;
    }
}